package com.admins.dao;

import com.admins.entity.Image;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ImageDao {
    /**
     * 分页查询收藏图片列表
     * @param imgName
     * @param imgDesc
     * @return
     */
    List<Image> getImagesListByPage(@Param("imgName") String imgName,@Param("imgDesc") String imgDesc);

    int collectionImg(Image image);

}
